package cn.mily.org.service.impl;

import cn.mily.basics.service.impl.BasicServiceImpl;
import cn.mily.basics.utils.IdAndNameUtildomain;
import cn.mily.org.domain.ShopErrorMsg;
import cn.mily.org.mapper.ErrorTypeMapper;
import cn.mily.org.service.IShopErrorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ShopErrorServiceImpl extends BasicServiceImpl<ShopErrorMsg> implements IShopErrorService {

    @Autowired
    private ErrorTypeMapper errorTypeMapper;

    @Override
    public List<IdAndNameUtildomain> findType() {
        return errorTypeMapper.findAll();
    }
}
